package com.terren.statistic.common.exception;

public class TerrenSpiderException extends Exception {
	public static final String FETCH_ALIAPP_EXCEPTION = "Fetch ali application failed!";
	public static final String FETCH_COMMENT_EXCEPTION = "Fetch union comment failed!";
	public static final String FETCH_COMMENTCOUNT_EXCEPTION = "Fetch comment count failed!";
	public static final String FETCH_DATEFORMAT_EXCEPTION = "Fetch dateformat failed!";
	public static final String FETCH_ENTRY_EXCEPTION = "Fetch entry failed! ";
	public static final String FETCH_ENTRYLIST_EXCEPTION = "Fetch entry list failed! ";
	public static final String FETCH_ENTRY_BY_ID_EXCEPTION = "Fetch entry by id failed! ";
	public static final String FETCH_FACEBOOK_MSG_EXCEPTION = "Fetch facebook message failed! ";
	public static final String FETCH_FACEBOOK_STORY_EXCEPTION = "Fetch facebook story failed! ";
	public static final String FETCH_FACEBOOK_USERS_EXCEPTION = "Fetch facebook users failed! ";
	public static final String FETCH_REGULARLIST_EXCEPTION = "Fetch regular list failed! ";
	public static final String FETCH_SERVERGROUP_EXCEPTION = "Fetch server group failed! ";
	public static final String FETCH_SOURCE_BY_ID_EXCEPTION = "Fetch source by id failed! ";
	public static final String FETCH_SOURCELIST_EXCEPTION = "Fetch source list failed! ";
	public static final String FETCH_SPIDERSERVERLIST_EXCEPTION = "Fetch spider server list failed! ";
	public static final String FETCH_WEIBO_EXCEPTION = "Fetch weibo content list failed! ";
	public static final String FETCH_WEIBO_USER_EXCEPTION = "Fetch weibo user list failed! ";
	public static final String FETCH_WEIBO_CONTAINERID_EXCEPTION = "Fetch weibo containerid failed! ";
	public static final String FETCH_WXPUBLICID_EXCEPTION = "Fetch weixin public id failed! ";
	public static final String INSERT_ARTICLE_EXCEPTION = "Insert article failed! ";
	public static final String INSERT_DUPLICATE_ARTICLE_EXCEPTION = "Insert duplicate article! ";
	public static final String INSERT_FBMSG_EXCEPTION = "Insert facebook message failed! ";
	public static final String INSERT_MONITORLOG_EXCEPTION = "Insert monitor log failed! ";
	public static final String INSERT_UNIONCOMMENT_EXCEPTION = "Insert union comment failed! ";
	public static final String INSERT_UNIONUSERINFO_EXCEPTION = "Insert union user info failed! ";
	public static final String ISNOT_PICTUREFILE_EXCEPTION = "Is not a picture file! ";
	public static final String NOTFOUND_IMGURL_EXCEPTION = "Not found valid image url! ";
	public static final String UPDATE_ARTICLE_EXCEPTION = "Update article failed! ";
	public static final String HTTP_403_EXCEPTION = "Http forbidden! ";
	public static final String HTTP_414_EXCEPTION = "Http uri too large! ";
	public static final String HTTP_429_EXCEPTION = "Http too Many Requests! ";
	public static final String HTTP_4XX_EXCEPTION = "Http 4XX error! ";
	public static final String HTTP_500_EXCEPTION = "Http server internal error! ";
	public static final String HTTP_503_EXCEPTION = "Http 503 Service Unavailable! ";
	public static final String HTTP_5XX_EXCEPTION = "Http 5XX error! ";

	/**
	 * 
	 */
	private static final long serialVersionUID = 844221952489296831L;

	public TerrenSpiderException() {
		
	}
	
	public TerrenSpiderException(String msg, Exception e) {
		super(msg, e);
	}
	
	public TerrenSpiderException(String msg) {
		super(msg);
	}
}
